0.4.3
authorRaymond Penners <pennersr@src.gnome.org>
Sat, 20 Sep 2003 09:56:27 +0000 (09:56 +0000)
committerRaymond Penners <pennersr@src.gnome.org>
Sat, 20 Sep 2003 09:56:27 +0000 (09:56 +0000)
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/wimp_style.c
modules/engines/ms-windows/xp_theme.c

index 0835b72cde26abe301071fd766b888230ccac948..abd25594ed6bdf2cdc98d0cf832f50ed43163f83 100755 (executable)
@@ -1,3 +1,13 @@
+2003-09-20  Raymond Penners  <raymond@dotsphinx.com>\r
+\r
+       * === Released 0.4.3 ===\r
+\r
+       * src/wimp_style.c: The Gaim buddy icons were missing due to\r
+       recent tree expander changes, not the clipping area. Fixed.\r
+       \r
+       * src/xp_theme.c: Re-enabled clipping area, I am confident it\r
+       should not cause any problems now.\r
+       \r
 2003-09-18  Raymond Penners  <raymond@dotsphinx.com>\r
 \r
        * === Released 0.4.2 ===\r
index d1b90432be88e53371966f1520b681ce3ad22c46..b26a51ec3b129f329e7143ae546777ae687cb395 100755 (executable)
@@ -659,41 +659,39 @@ draw_expander(GtkStyle      *style,
 
   gdk_gc_get_values (style->fg_gc[state], &values);
 
-  if (xp_theme_draw(window, xp_expander, style,
-                    x, y,
-                    expander_size, expander_size, state, area))
+  if (xp_theme_draw(window, xp_expander, style,
+                      x, y,
+                      expander_size, expander_size, state, area))
     {
-      return;
-    }
-
-  /* RGB values to emulate Windows Classic style */
-  color.red = color.green = color.blue = 128 << 8;
-
-  success = gdk_colormap_alloc_color
-    (gtk_widget_get_default_colormap (), &color, FALSE, TRUE);
+      /* RGB values to emulate Windows Classic style */
+      color.red = color.green = color.blue = 128 << 8;
 
-  if (success)
-    gdk_gc_set_foreground (style->fg_gc[state], &color);
+      success = gdk_colormap_alloc_color
+        (gtk_widget_get_default_colormap (), &color, FALSE, TRUE);
 
-  gdk_draw_rectangle
-    (window, style->fg_gc[state], FALSE, x, y,
-     expander_size - 1, expander_size - 1);
+      if (success)
+        gdk_gc_set_foreground (style->fg_gc[state], &color);
 
-  if (success)
-    gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
+      gdk_draw_rectangle
+        (window, style->fg_gc[state], FALSE, x, y,
+         expander_size - 1, expander_size - 1);
 
-  gdk_draw_line
-    (window, style->fg_gc[state], x + 2, y + expander_semi_size,
-     x + expander_size - 2, y + expander_semi_size);
+      if (success)
+        gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
 
-  switch (expander_style)
-    {
-    case GTK_EXPANDER_COLLAPSED:
-    case GTK_EXPANDER_SEMI_COLLAPSED:
       gdk_draw_line
-       (window, style->fg_gc[state], x + expander_semi_size, y + 2,
-        x + expander_semi_size, y + expander_size - 2);
-      break;
+        (window, style->fg_gc[state], x + 2, y + expander_semi_size,
+         x + expander_size - 2, y + expander_semi_size);
+
+      switch (expander_style)
+        {
+        case GTK_EXPANDER_COLLAPSED:
+        case GTK_EXPANDER_SEMI_COLLAPSED:
+          gdk_draw_line
+            (window, style->fg_gc[state], x + expander_semi_size, y + 2,
+             x + expander_semi_size, y + expander_size - 2);
+          break;
+        }
     }
 
   if (area)
index cd782b9cf4c2d1e27b0bae75a4c49cdc97c6b5c6..b43b2bd8cd2971bc81e66d3c8f83293151c24af5 100755 (executable)
@@ -608,7 +608,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
   rect.right = rect.left + width;
   rect.bottom = rect.top + height;
 
-#if 0
   if (area)
     {
       clip.left = area->x - xoff;
@@ -619,7 +618,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
       pClip = &clip;
     }
   else
-#endif
     {
       pClip = NULL;
     }